# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
  def menu(items)
    '<div id="sub-menu">' + items.join(' | ') + '</div>'
  end
  
  def icon_menu(items)
    '<div class="icon-menu">' + items.join + '</div>'
  end
  
  def items_menu(title, items)
    '<div id="items-header">' + title + '</div><div class="icon-menu"' + items.join + '</div><div style="clear: both;"></div>'
  end
end
